import request from "@/utils/request";

// 查询客户列表列表
export function listServe(query) {
  return request({
    url: "/customer/serve/list",
    method: "get",
    params: query,
  });
}

// 查询客户列表详细
export function getServe(id) {
  return request({
    url: "/customer/serve/" + id,
    method: "get",
  });
}

// 修改客户冻结状态
export function updateServe(data) {
  return request({
    url: "/customer/serve/updateFreezeStatusAndReason",
    method: "put",
    data: data,
  });
}
